import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export interface Params {
  title: string;
  attrTip: string;
  methodPath: string;
  lazy?: boolean;
  params?: any[];
  idName?: string;
  isLeafName?: string;
  labelName?: string;
}

export interface CloseData {
  success: boolean;
  info?: any;
}

export const ChooseDirWindow = new IpcWindow<Params, CloseData>(WindowName.ChooseDirWindow);
